@echo off
setlocal enableextensions disabledelayedexpansion
set RELEASE_PATH=release
set OUTPUT_FILE_NAME=helpSrv
set "VERSION=%~1"
if "%VERSION%"=="" (
    echo Error: should be "build.bat v1.0.0"
    exit /b
) 


echo ==================================== docker build ====================================
docker build -t helpsrv:%VERSION% .
echo ==================================== docker push ====================================
call ./dockerPush.bat %VERSION%
echo ====================================
endlocal
pause
exit